package com.ssm.maven.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import com.ssm.maven.domain.Users;

public interface UsersMapper {
	
	
	@Insert("insert into users values (#{u_id},#{u_name},#{u_tel},#{u_uname},#{u_pwd},#{u_head})")
	public int logonUsers(Users users);
	
	@Select("select *from users where u_tel=#{u_tel}")
	public Users loginBy_u_tel(int u_tel);
	
//	@Select("select *from users where u_pwd=#{u_pwd}")
//	public int loginBy_u_pwd(String u_pwd);
	
	
	
}
